<html>
	<body BGCOLOR="#000000" TEXT="#FFFFFF" LINK="#AAFFAA" VLINK="#AAFFAA">
		<hr COLOR="#7777FF" ALIGN="center" WIDTH="90%">
		<center>
			<img src="../Xados-icon64.png">
			<h2>Xados Editor Window</h2>
			<h3>Menu Scripts</h3>
		</center>
		<hr COLOR="#7777FF" ALIGN="center" WIDTH="90%">
		<p>
		<font size=4>
			<img src="../energy.png">
			<u>Menu</u> <u>Scripts</u>:<br/>
		</font>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;Each menu has its own script to
			descrive its options. This script has the name specified
			in the <a href="commonscripts.html">main script</a> with
			the extension <b>.menu</b>. For example, if we have the
			next line:
		</font>
		<p><br/>
		<center>
			<font size=3>
				<b>Add Menu:Main</b>
			</font>
		</center>
		<p><br/>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;Then we will find an script named
			<b>Main.menu</b> with the configuration.
		</font>
		<br/>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;One thing to have in mind is the
			order of font-code lines, because they decide the showing
			order in the menu.
		</font>
		<p><br/>
		<font size=4>
			<img src="../energy.png">
			<u>Menu</u> <u>Name</u>:<br/>
		</font>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;The first thing that we can set
			is the menu name, an it can be done just using the setter
			<b>Set Name</b>. It needs only one parameter:<ul>
				<li>Name: The name for the menu.
			</ul>
		</font>
		<p><br/>
		<center>
			<font size=3>
				<b>Set Name:Name</b>
			</font>
		</center>
		<p><br/>
		<font size=4>
			<img src="../energy.png">
			<u>Simple</u> <u>Menu</u> <u>Options</u>:<br/>
		</font>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;A simple menu options something
			like a <a href="../executer/macrobuttons.html">macro
			button</a>, because it executes a command line in the
			system, including keys. To add one of this we can use the
			setter <b>Add Option</b> that requires two
			parameters:<ul>
				<li>Name: The option name to be shown in the
				    menu.
				<li>Command: The command to executes when it is
				    clicked.
			</ul>
		</font>
		<p><br/>
		<center>
			<font size=3>
				<b>Add Option:Name:Command</b>
			</font>
		</center>
		<p><br/>
		<font size=4>
			<img src="../energy.png">
			<u>Menu</u> <u>Checking</u> <u>Options</u>:<br/>
		</font>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;This kind of options are like a
			check box, they work like in a <a
			href="http://xados.sourceforge.net/help/executer/checkboxesframe.htl">check box
			frame</a>. We can add them with the setter <b>Add
			Check Option</b>. They need two parameters:<ul>
				<li>Name: The option name to be shown in the
				    menu.
				<li>Parameter: The parameter to activate.
			</ul>
		</font>
		<p><br/>
		<center>
			<font size=3>
				<b>Add Check Option:Name:Parameter</b>
			</font>
		</center>
		<p><br/>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;Here the key for the menu get
			importance, because it is replaced by the value of this
			kind of options.
		</font>
		<p><br/>
		<font size=4>
			<img src="../energy.png">
			<u>Menu</u> <u>Separator</u>:<br/>
		</font>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;A <b>Separator</b> is just a
			space in the menu and it can be useful to order the
			options on a menu. It can be inserted just using the
			setter <b>Separator</b> without parameters.
		</font>
		<p><br/>
		<center>
			<font size=3>
				<b>Separator</b>
			</font>
		</center>
		<p><br/>
		<font size=4>
			<img src="../energy.png">
			<u>Macro</u> <u>Button</u> <u>Option</u>:<br/>
		</font>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;A <b>macro button option</b> is a
			simple relinking to a <a
			href="../executer/macrobuttons.html">macro button</a>, to
			press the relinked button is the same to press this kind
			of options. Of corse, if the relinked <a
			href="../executer/macrobuttons.html">macro button</a> is
			not used this addition will be ignored. One of this can
			be added using the setter <b>Add Macro Button
			Option</b> with only one parameter:<ul>
				<li>Number: The number of <a
				    href="../executer/macrobuttons.html">macro
				    button</a> to asociate (between 0 and 7).
			</ul>
		</font>
		<p><br/>
		<center>
			<font size=3>
				<b>Add Macro Button Option:Number</b>
			</font>
		</center>
		<p><br/>
		<font size=4>
			<img src="../energy.png">
			<u>Browser</u> <u>Option</u>:<br/>
		</font>
		<font size=3>
			&nbsp;&nbsp;&nbsp;&nbsp;This kind of option tells to the
			<a href="../executer/browserframe.html">browser frame</a>
			that the manual directory selector must be opened. In
			other words, it is an alternative button to change the
			current directory. It can be added using the setter
			<b>Add Browser Option</b> without parameter.
		</font>
		<p><br/>
		<center>
			<font size=3>
				<b>Add Browser Option</b>
			</font>
		</center>
		<p><br/>
		<hr COLOR="#7777FF" ALIGN="center" WIDTH="90%">
	</body>
</html>
